﻿using System.ComponentModel.DataAnnotations;

namespace Reborn.IdentityServer4.Admin.STS.Identity.ViewModels.Account;

public class RegisterViewModel
{
    [Required] public string UserName { get; set; }

    [Required] [EmailAddress] public string Email { get; set; }

    [Required]
    [DataType(DataType.Password)]
    public string Password { get; set; }

    [DataType(DataType.Password)]
    [Compare("Password")]
    public string ConfirmPassword { get; set; }
}